@baseColor:#e92322;

//头部样式
.wjs_t{
  height: 50px;
  line-height: 50px;
  border-bottom: 1px solid #ccc;
  .row{
    height: 100%;
    text-align: center;
    >div:nth-of-type(-n+3){
      border-right: 1px solid #ccc;
      .wjs_tlink{
        position: relative;
        display: block;
        >img{
          position: absolute;
          top: 48px;
          left: 50%;
          transform: translateX(-50%);
          border: 1px solid #ccc;
          border-top: none;
          display: none;
          z-index: 999;
        }
        &:hover {
          text-decoration: none;
          color: #333;
          > img {
            display: block;
          }
        }
      }
    }
    >div:last-of-type{
      .btn-danger{
        background-color: @baseColor;
        border-color: @baseColor;
      }
      .btn{
        padding:3px 15px;
      }
      .btn-link{
        color: #333;
        &:hover{
          text-decoration: none;
        }
      }
    }
  }
}
//导航样式
.wjs_nav {
  &.navbar{
    margin-bottom: 0;
  }
  .navbar-brand {
    height: 80px;
    line-height: 50px;
    > .wjs_icon {
      font-size: 40px;
    }
    > span:first-of-type {
      color: @baseColor;
    }
    > span:last-of-type {
      color: #333;
    }
    &:hover span:last-of-type {
      color: #333;
    }
  }

}

.navbar-default {
  .navbar-nav {

    li{
      a {
        line-height: 50px;
        font-size: 16px;
        background-color: transparent;
        &:hover, &:focus {
          color: #777;
          border-bottom: 3px solid @baseColor
        }
      }
    }
    .active {
      a, a:hover, a:focus {
        background-color: transparent;
        border-bottom: 3px solid @baseColor;
      }
    }
  }
  .navbar-toggle{
    margin-top:23px;
  }
}

//轮播图
.wjs_banner{
  .container-fluid{
    padding:0;
  }
  .mobileImg{
    width: 100%;
    display: block;
    >img{
      width: 100%;
      display: block;
    }
  }
  .pbannerImg{
    display: block;
    height: 410px;
    width: 100%;
    background-position: center center;
    background-size:cover;
  }
}


//媒体进度

.wjs_features{
  padding:30px;
  .row{
    >div{
      margin-top:20px;
      >a:hover,a:focus{
        text-decoration: none;
        color: @baseColor;
      }
      .wjs_icon{
        font-size: 30px;
      }
    }
  }
}


//预约块
.converse{
  border-bottom: 1px solid #ccc;
  border-top: 1px solid #ccc;
  .wjs_icon{
    font-size: 18px;
  }
  .row{
    >div{
      height: 60px;
      line-height:60px;
      a:first-of-type{
        &:hover,&:focus{
          color: @baseColor;
          text-decoration: none;
        }
      }
      &:first-of-type{
        a:last-of-type{
          color: @baseColor;
          border-bottom: 1px dashed @baseColor;
          &:hover,&:focus{
            text-decoration: none;
          }
        }
      }
    }
  }
}


//切换面板
.wjs_product{
  background-color: #eee;
  clear: both;
  padding:20px;
  .tabs_parent{
      width: 100%;
      overflow: hidden;
  }
  .nav-tabs{
    li{
      padding:0 15px;
      border-bottom: 0;/*重置mb 因为往下移了一个像素为了遮住下面的边框*/
      a{
        border: none;
        background-color: transparent;
        line-height: 50px;
        border-radius: 0;
        &:hover{
          border-bottom: 3px solid @baseColor;
        }
      }
    }
    li.active{
      a,a:hover,a:focus{
        background-color: #eee;
        border: none;
        border-radius: 0;
        border-bottom: 3px solid @baseColor;
      }
    }
  }
}

//内容块
.wjs_product{
  .tab-content{
    .wjs_pbox{
      height: 150px;
      margin-top:20px;
      background-color: #fff;
      position: relative;
      .p_left{
        margin-right:100px;
        height: 100%;
      border-right: 1px dashed #ccc;
        font-size:12px;
        padding:0 5px;
        >p{
          text-align: center;
          font-size:16px;
        }
        .row{
          >div:nth-child(even){
            text-align: right;
        }
        }
      }
      .p_right{
        height: 100%;
        width: 100px;
        position: absolute;
        right: 0;
        top:0;
        text-align: center;
        padding-top: 40px;
        &::before,&::after{
          content: "";
          display: block;
          width: 10px;
          height: 10px;
          border-radius: 50%;
          left:-5px;
          position: absolute;
          background-color: #eee;
        }
        &::before{
          top: -5px;
        }
        &::after{
          bottom: -5px;
        }
        b,sub{
          color: @baseColor;
        }
        b{
          font-size: 40px;
        }
        sub{
          bottom: 0;
        }
      }
      &.active{
        background-color: @baseColor;
        color: #fff;
        position: relative;
        .p_left{
          &::before{
            content: "\e915";
            font-family: "wjs";
            position: absolute;
            left: 0;
            top: -5px;
            font-size: 25px;
          }
        }
        .p_right{
          b,sub{
             color: #fff;
           }
        }
      }
        .tip{
          width: 100%;
          position: absolute;
          top: 5px;
          left: 0px;
          .btn{
            border-radius: 0;
            padding:0;
            width: 22px;
            &:active,&:focus{
              outline: none;
              -webkit-box-shadow:none;
              -moz-box-shadow: none;
              box-shadow: none;
            }
          }
          .btn-default{
            background-color: transparent;
            &:first-of-type{
              border:1px solid @baseColor;
            }
            &:last-of-type{
              border: 1px solid blue;
            }
          }
        }
    }
  }
}


//新闻模块
.wjs_news{
  padding: 20px;
  .row{
    >div:first-of-type{
      h3{
        width: 100%;
        border-bottom: 1px solid #ddd;
        text-align: center;
        line-height:60px;
        position: relative;
        font-size: 25px;
        &::before{
          content: "";
          display: block;
          width: 8px;
          height: 8px;
          background-color: #fff;
          border: 1px solid #ddd;
          border-radius: 50%;
          position: absolute;
          right: -8px;
          bottom: -4px;
        }
      }
    }
    >div:nth-child(2){
      .nav-newsline{
        position: absolute;
        height: 100%;
        width: 1px;
        border-left: 1px dashed @baseColor;
        top: 0;
        left: 50%;
        transform: translateX(-4px);
      }
      .nav-tabs{
        border-bottom: none;
        li{
          margin-bottom:60px;
          a{
            border: none;
            background-color: #ccc;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            .wjs_icon {
              font-size: 30px;
              color: #fff;
            }
              &:hover{
               background-color:@baseColor ;
               border: none;
             }
          }
          &.active{
            a,a:hover,a:focus{
              background-color:@baseColor ;
              border: none;
            }
          }
          &:last-of-type{
            margin-bottom: 0;
          }
        }
        //用max则要从大到小写
        @media screen and (min-width: 768px) and (max-width: 992px){
          li{
            margin: 20px 30px;
          }
        }
        @media screen and (max-width: 768px){
          li{
            margin: 20px 0;
            width: 25%;
          }
        }
      }
    }
    >div:nth-child(3){
        .wjs_newslist{
          li{
            line-height:60px;
          }

        }
    }
  }
}

.wjs_partner{
  background-color: #eee;
  text-align: center;
  h3{
    font-size:28px;
  }
  ul{
    list-style: none;
    display: inline-block;
    li{
      float: left;
      margin-left: 20px;
      a{
        font-size:80px;
      }
    }
  }
}




















